package com.yc.resgoods;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.oas.annotations.EnableOpenApi;

/**
 * @ClassName OrderApp
 * @since: 2023/8/21 20:52
 * @auth: kirito
 * @description:
 **/
@SpringBootApplication
//扫描这个包 feign接口会生成 这些接口的实现类
@EnableFeignClients(basePackages = {"com.yc.api"})
@AutoConfiguration  //可以在main方法配置监听全部
public class OrderApp {
    public static void main(String[] args) {
        SpringApplication.run(OrderApp.class);
    }
}
